#include <EEPROM.h>
struct ConnectInfo {
  // 长久保存的变量
  char conError;
  char auth[35];
  char ssid[25];
  char pass[25];
  char serverIP[20];
  char serverPort[10];
};
void setup() {
  Serial.begin(9600);
  // put your setup code here, to run once:
  struct ConnectInfo eraseInfo={3,"sksk","jlkjfa","lsldd","daf","dafd"};
  EEPROM.begin(sizeof(eraseInfo));
  EEPROM.put(0,eraseInfo);
  EEPROM.commit();

}

void loop() {
  // put your main code here, to run repeatedly:

}
